import Vue from 'vue'
import App from './App.vue'

Vue.config.productionTip = false


//qiankun配置
import { registerMicroApps, start } from 'qiankun';

//注册子应用
registerMicroApps([
  {
    name: 'vite',
    entry: '//localhost:3000',
    container: '#container',
    activeRule: '/app-vite',
  },
  {
    name: 'vueApp',
    entry: '//localhost:8081',
    container: '#container',
    activeRule: '/app-vue',
  },
  {
    name: 'angularApp',
    entry: '//localhost:4200',
    container: '#container',
    activeRule: '/app-angular',
  },
]);

//启动
start();

new Vue({
  render: h => h(App),
}).$mount('#app')


